Simple_History\Simple_History D

Total Complexity 262
Dependencies 44
Dependents 11
Total lines 3,381
Lines of code 1,744
Logical lines of code 708
Comment lines 1,205
Methods 82
Properties 11

Methods 82

Method Rating Maintainability Complexity Lines of code
output_quick_stats()
C
32 26 115
get_log_row_html_output()
C
26
18 183
check_for_upgrade()
A
34 11 116
load_loggers()
A
37 13 78
is_on_our_own_pages()
A
54 14 19
api()
A
43 12 47
add_admin_bar_network_menu_item()
A
45 10 40
add_js_templates()
A
40 3 104
get_loggers_that_user_can_read()
A
47 7 39
enqueue_admin_scripts()
A
40 5 64
add_settings()
A
42 5 62
settings_page_output()
S
45 5 48
purge_db()
S
44 5 48
load_dropins()
S
47 5 37
settings_field_number_of_items_dashboard()
S
50 5 31
add_admin_bar_menu_item()
S
50 5 29
add_welcome_log_message()
S
46 3 46
settings_field_number_of_items()
S
50 4 31
get_log_row_plain_text_output()
S
61 5 12
add_admin_pages()
S
52 4 27
__call()
S
56 4 18
add_dashboard_widget()
S
59 4 15
plugin_action_links()
S
60 4 13
get_instantiated_logger_by_slug()
S
63 4 11
add_default_settings_tabs()
S
53 3 24
get_log_row_header_output()
S
64 4 9
get_log_row_details_output()
S
64 4 9
get_log_row_sender_image_output()
S
64 4 9
get_num_events_per_day_last_n_days()
S
52 2 28
init()
S
51 2 26
get_num_events_last_n_days()
S
54 2 22
get_unique_events_for_days()
S
55 2 20
settings_field_clear_log()
S
55 2 20
get_core_loggers()
S
50 1 31
history_page_output()
S
54 1 27
filter_gettext_with_context()
S
63 2 11
filter_gettext()
S
63 2 11
clear_log()
S
55 1 20
settings_field_where_to_show()
S
58 1 20
get_core_dropins()
S
57 1 19
on_admin_footer()
S
74 2 5
setup_variables()
S
59 1 15
get_instance()
S
71 2 6
on_admin_head()
S
74 2 5
setup_cron()
S
70 2 6
maybe_purge_db()
S
67 2 8
add_pause_and_resume_actions()
S
63 1 14
add_admin_actions()
S
60 1 13
get_contexts_table_name()
S
82 1 3
get_clear_history_interval()
S
70 1 6
get_events_table_name()
S
82 1 3
on_filter_simple_history_log_error()
S
79 1 3
on_filter_simple_history_log_critical()
S
79 1 3
on_filter_simple_history_log_alert()
S
79 1 3
on_filter_simple_history_log_emergency()
S
79 1 3
get_instantiated_loggers()
S
82 1 3
on_filter_simple_history_log()
S
79 1 3
get_instantiated_dropins()
S
82 1 3
settings_output_styles_example()
S
80 1 3
on_filter_simple_history_log_warning()
S
79 1 3
filter_option_page_capability()
S
82 1 3
load_plugin_textdomain()
S
68 1 6
get_view_history_capability()
S
71 1 6
get_view_settings_capability()
S
71 1 6
user_can_clear_log()
S
79 1 3
register_logger()
S
80 1 3
register_dropin()
S
80 1 3
get_pager_size()
S
72 1 5
get_pager_size_dashboard()
S
70 1 6
dashboard_widget_output()
S
67 1 9
does_database_have_data()
S
66 1 8
setting_show_as_page()
S
72 1 5
register_settings_tab()
S
80 1 3
get_settings_tabs()
S
82 1 3
on_filter_simple_history_log_debug()
S
79 1 3
settings_output_log()
S
80 1 3
settings_output_general()
S
80 1 3
settings_section_output()
S
91 1 2
on_filter_simple_history_log_info()
S
79 1 3
on_filter_simple_history_log_notice()
S
79 1 3
setting_show_on_dashboard()
S
72 1 5
__construct()
S
82 1 3